import {ApiProperty} from "@nestjs/swagger";
import {IsOptional} from "class-validator";

export class QueryTagsDto {
    @ApiProperty({ description: '过滤关键字',required:false })
    @IsOptional()
    key?: string

    @ApiProperty({ description: '是否可用',required:false })
    @IsOptional()
    enable?: boolean
}